/* ==== v-picker-panel ==== */

.v-picker-panel {
  color: @datepicker-color;
  border: 1px solid @datepicker-border-color;
  box-shadow: 0 2px 6px #999999;
  background: @white;
  border-radius: 2px;
  line-height: 20px;
  margin: 5px 0;

  &__body, &__body-wrapper {
    &::after {
      content: "";
      display: table;
      clear: both;
    }
  }

  &__content {
    position: relative;
    margin: 15px;
  }

  &__footer {
    border-top: 1px solid @datepicker-inner-border-color;
    padding: 4px;
    text-align: right;
    background-color: @white;
    position: relative;
  }

  &__shortcut {
    display: block;
    width: 100%;
    border: 0;
    background-color: transparent;
    line-height: 28px;
    font-size: 14px;
    color: @datepicker-color;
    padding-left: 12px;
    text-align: left;
    outline: none;
    cursor: pointer;

    &:hover {
      background-color: @datepicker-cell-hover-color;
    }

    &.active {
      background-color: #e6f1fe;
      color: @datepicker-active-color;
    }
  }

  &__btn {
    border: 1px solid #dcdcdc;
    color: #333333;
    line-height: 24px;
    border-radius: 2px;
    padding: 0 20px;
    cursor: pointer;
    background-color: transparent;
    outline: none;
    font-size: 12px;

    &[disabled] {
      color: #cccccc;
      cursor: not-allowed;
    }
  }

  &__icon-btn {
    font-size: 12px;
    color: @datepicker-icon-color;
    border: 0;
    background: transparent;
    cursor: pointer;
    outline: none;
    margin-top: 3px;

    &:hover {
      color: @datepicker-text-hover-color;
    }
  }

  &__link-btn {
    cursor: pointer;
    color: @color-primary;
    text-decoration: none;
    padding: 15px;
    font-size: 12px;
  }
}


.v-picker-panel *[slot=sidebar],
.v-picker-panel__sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  border-right: 1px solid @datepicker-inner-border-color;
  box-sizing: border-box;
  padding-top: 6px;
  background-color: @dark-white;
  overflow: auto;
}

.v-picker-panel *[slot=sidebar] + .v-picker-panel__body,
.v-picker-panel__sidebar + .v-picker-panel__body {
  margin-left: 110px;
}
